﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Token.aspx.cs" Inherits="ThangNM.Token" MasterPageFile="~/PublicInterface/Home_New.Master" %>
<%@ Register src="~/UserControl/MsgUC.ascx" tagname="MsgUC" tagprefix="uc1" %>

<%@ Register src="UserControl/ReCaptchaUC.ascx" tagname="ReCaptchaUC" tagprefix="uc2" %>

<asp:Content ID="cBody" ContentPlaceHolderID="cphBody" runat="server">
    
    <uc2:ReCaptchaUC ID="ReCaptchaUC1" runat="server" />
    
    <br /><br />
    <%--<div class="row" style="display:table;margin:auto;">
        <asp:AdRotator id="adrAdv" runat="server" AdvertisementFile="~/GlobalResources/Adv.xml" Target="_blank" BorderWidth="0px" CssClass="img-responsive"></asp:AdRotator><br /><br />
    </div>--%>

    <asp:Label ID="lblSQLite" runat="server"></asp:Label>
    <asp:TextBox ID="txtSQLite" runat="server"></asp:TextBox>
    <asp:Button ID="btnSQLite" runat="server" Text="SQLite" 
        onclick="btnSQLite_Click" />


    <uc1:MsgUC ID="MsgUC1" runat="server" />
            <asp:GridView ID="grvList" runat="server" AutoGenerateColumns="False"
            class="table table-striped table-bordered table-hover dataTable no-footer styleGrid"
            ShowFooter = "True" DataKeyNames="routeName" emptydatatext="Không có bản ghi nào." CellPadding="3" 
                meta:resourcekey="grvListResource1">
                <Columns>
                    <asp:TemplateField HeaderText="routeName" 
                        meta:resourcekey="TemplateFieldResource1">
                        <HeaderTemplate>routeName</HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblrouteName" Width = "300px" runat="server" 
                                Text='<%# Eval("routeName") %>' meta:resourcekey="lblrouteNameResource1"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="routeUrl" 
                        meta:resourcekey="TemplateFieldResource2">
                        <HeaderTemplate>routeUrl</HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblrouteUrl" Width = "300px" runat="server" 
                                Text='<%# Eval("routeUrl") %>' meta:resourcekey="lblrouteUrlResource1"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="physicalFile" 
                        meta:resourcekey="TemplateFieldResource3">
                        <HeaderTemplate>physicalFile</HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblphysicalFile" runat="server" 
                                Text='<%# Eval("physicalFile") %>' meta:resourcekey="lblphysicalFileResource1"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle HorizontalAlign="Center" />
                <HeaderStyle BackColor="#66CCFF" HorizontalAlign="Center"/>
            </asp:GridView>

    <asp:TextBox ID="txtUrl" runat="server"></asp:TextBox>
    <asp:Button ID="btnCheckUrl" runat="server" Text="CheckUrl" onclick="btnCheckUrl_Click" />
     <div class="col-xs-6 col-sm-3">
        <a href="#" class="thumbnail" data-toggle="modal" data-target="#lightbox"> 
            <img src="https://s3.amazonaws.com/ooomf-com-files/lqCNpAk3SCm0bdyd5aA0_IMG_4060_1%20copy.jpg" alt="...">
        </a>
    </div>
    <div class="col-xs-6 col-sm-3">
        <a href="#" class="thumbnail" data-toggle="modal" data-target="#lightbox"> 
            <img src="https://s3.amazonaws.com/ooomf-com-files/deYU3EyQP9cN23moYfLw_Dandelion.jpg" alt="...">
        </a>
    </div>

    <div id="lightbox" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <button type="button" class="close hidden" data-dismiss="modal" aria-hidden="true">×</button>
        <div class="modal-content">
            <div class="modal-body">
                <img src="" alt="" />
            </div>
        </div>
    </div>
</div>
    <br />
    <br />
    <asp:UpdatePanel ID="udpTest" runat="server">
        <ContentTemplate>
            <asp:TextBox ID="txtA" runat="server"></asp:TextBox>
            <asp:DropDownList ID="ddlOperation" runat="server">
                <asp:ListItem>&amp;</asp:ListItem>
                <asp:ListItem>|</asp:ListItem>
                <asp:ListItem>^</asp:ListItem>
                <asp:ListItem>~</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="txtB" runat="server"></asp:TextBox><br />
            <asp:Label ID="lblC" runat="server"></asp:Label><br /><br />
            <asp:Button ID="txtOK" runat="server" Text="OK" onclick="txtOK_Click" />
        </ContentTemplate>
    </asp:UpdatePanel>

    <br /><br />
    <asp:FileUpload ID="fuAttack" runat="server" />
    <asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" Text="Upload" /><br />
    <asp:Label ID="lblInfo" runat="server"></asp:Label>
</asp:Content>